﻿CREATE TABLE [dbo].[RMS_GroupPermission]
(
	GroupID int NOT NULL  FOREIGN KEY REFERENCES [RMS_UserGroup] (GroupID)	, 
	PermissionID int NOT NULL FOREIGN KEY REFERENCES [RMS_PermissionItem] (PermissionID),
	ControlValue int default(0) not null,
	primary key(GroupID,PermissionID)

)
